package com.hckjsec.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 收文对象 sys_receipt
 * 
 * @author cyt
 * @date 2021-10-11
 */
public class SysReceipt extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long receiptId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 文件编号 */
    @Excel(name = "文件编号")
    private String documentNumber;

    /** 文件类型 */
    @Excel(name = "文件类型")
    private String documentType;

    /** 文件份数 */
    @Excel(name = "文件份数")
    private String documentShare;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 来文单位 */
    @Excel(name = "来文单位")
    private String company;

    /** 送件人 */
    @Excel(name = "送件人")
    private String sender;

    /** 送件时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "送件时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date senderTime;

    /** 文件密级 */
    @Excel(name = "文件密级")
    private String documentLevel;

    /** 紧急程度 */
    @Excel(name = "紧急程度")
    private String documentDegree;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 附件 */
    @Excel(name = "附件")
    private String enclosurepath;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long operator;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operatortime;

    public void setReceiptId(Long receiptId) 
    {
        this.receiptId = receiptId;
    }

    public Long getReceiptId() 
    {
        return receiptId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDocumentNumber(String documentNumber) 
    {
        this.documentNumber = documentNumber;
    }

    public String getDocumentNumber() 
    {
        return documentNumber;
    }
    public void setDocumentType(String documentType) 
    {
        this.documentType = documentType;
    }

    public String getDocumentType() 
    {
        return documentType;
    }
    public void setDocumentShare(String documentShare) 
    {
        this.documentShare = documentShare;
    }

    public String getDocumentShare() 
    {
        return documentShare;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setCompany(String company) 
    {
        this.company = company;
    }

    public String getCompany() 
    {
        return company;
    }
    public void setSender(String sender) 
    {
        this.sender = sender;
    }

    public String getSender() 
    {
        return sender;
    }
    public void setSenderTime(Date senderTime) 
    {
        this.senderTime = senderTime;
    }

    public Date getSenderTime() 
    {
        return senderTime;
    }
    public void setDocumentLevel(String documentLevel) 
    {
        this.documentLevel = documentLevel;
    }

    public String getDocumentLevel() 
    {
        return documentLevel;
    }
    public void setDocumentDegree(String documentDegree) 
    {
        this.documentDegree = documentDegree;
    }

    public String getDocumentDegree() 
    {
        return documentDegree;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setEnclosurepath(String enclosurepath) 
    {
        this.enclosurepath = enclosurepath;
    }

    public String getEnclosurepath() 
    {
        return enclosurepath;
    }
    public void setOperator(Long operator) 
    {
        this.operator = operator;
    }

    public Long getOperator() 
    {
        return operator;
    }
    public void setOperatortime(Date operatortime) 
    {
        this.operatortime = operatortime;
    }

    public Date getOperatortime() 
    {
        return operatortime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("receiptId", getReceiptId())
            .append("deptId", getDeptId())
            .append("documentNumber", getDocumentNumber())
            .append("documentType", getDocumentType())
            .append("documentShare", getDocumentShare())
            .append("title", getTitle())
            .append("company", getCompany())
            .append("sender", getSender())
            .append("senderTime", getSenderTime())
            .append("documentLevel", getDocumentLevel())
            .append("documentDegree", getDocumentDegree())
            .append("content", getContent())
            .append("enclosurepath", getEnclosurepath())
            .append("operator", getOperator())
            .append("operatortime", getOperatortime())
            .toString();
    }
}
